<?php 
/**
 * [PHPFOX_HEADER]
 * 
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond_Benc
 * @package 		Phpfox
 * @version 		$Id: share.html.php 3335 2011-10-20 17:26:57Z Raymond_Benc $
 */
 
defined('PHPFOX') or exit('NO DICE!'); 

?>
<div class="global_attachment_holder_section" id="global_attachment_video">	
	<div><input type="hidden" name="val[video_inline]" value="1" /></div>
	
    <div id="atarea">
            <input type="hidden" name="wall_type" value="video" />
            <input type="hidden" id="direct_image" value="" />
            <div id="atabd">
                <!--<div class="extra_info">
                Select a picture file
                </div>-->
                <div class="feed_text_input">
                    <input onpaste="" type="text" id="id_feed_link" name="url" placeholder="http://">
                    <span class="feed_text_button"><a href="#" onclick="$.ajaxCall('feed.fetch','link='+$('#id_feed_link').val());return false;" class="find_image_button button">Find Images</a></span>
                                    <div class="clear"></div>
                </div>
            </div>
            <div id="image_preview_holder"></div>
            <div class="clear"></div>
    </div>
    <div class="feed_post_cancel" style="text-align: right;">
        <a href="#" onclick="$Core.resetActivityFeedForm();return false;">Cancel</a>
    </div>	
</div>

{literal}
<script type="text/javascript">
$ActivityFeedCompleted.resetVideoForm = function()
{
	$('#js_form_video_title').val('');
	$('#global_attachment_video_file_input').val('');
}
</script>
{/literal}